package avicit.bdp.dds.dao.entity;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

@ApiModel(value = "ProjectType", description = "bdp_dds_r_project_type")
@Table(name = "bdp_dds_r_project_type")
public class ProjectType extends BaseDTO {
    /**
     * id
     */
    @Id
    @LogField
    @ApiModelProperty(value = "id", name = "id")
    @FieldRemark(column = "id", field = "id", name = "id")
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    @LogField
    @ApiModelProperty(value = "项目类型", name = "projectType")
    @FieldRemark(column = "project_type", field = "projectType", name = "项目类型")
    @Column(name = "project_type")
    private String projectType;

    @LogField
    @ApiModelProperty(value = "流程类型", name = "processType")
    @FieldRemark(column = "process_type", field = "processType", name = "流程类型")
    @Column(name = "process_type")
    private String processType;

    @LogField
    @ApiModelProperty(value = "流程类型名称", name = "processTypeName")
    @FieldRemark(column = "process_type_name", field = "processTypeName", name = "流程类型名称")
    @Column(name = "process_type_name")
    private String processTypeName;

    @LogField
    @ApiModelProperty(value = "是否参与授权，0：不参与，1：参与", name = "authType")
    @FieldRemark(column = "auth_type", field = "authType", name = "是否参与授权")
    @Column(name = "auth_type")
    private Integer authType;

    @LogField
    @ApiModelProperty(value = "排序", name = "orderBy")
    @FieldRemark(column = "order_by", field = "orderBy", name = "排序")
    @Column(name = "order_by")
    private Integer orderBy;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getProcessType() {
        return processType;
    }

    public void setProcessType(String processType) {
        this.processType = processType;
    }

    public String getProcessTypeName() {
        return processTypeName;
    }

    public void setProcessTypeName(String processTypeName) {
        this.processTypeName = processTypeName;
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }
}
